package com.example.testrxjava.util;

import android.arch.lifecycle.Observer;

import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;

/**
 * 项目名称：TestRxjava
 *
 * @Author 郭迎辉
 * Create by 16:28 on 2019/4/23.
 * Describe: 收藏
 */
public interface CollectApi {

//    @FormUrlEncoded
    @POST("lg/collect/{id}/json")
    Observable<BaseResponse> collect(@Path("id") String id);
}
